package com.ruoyi.shaketicket.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

/**
 * 摇一摇奖项表 wxact_shaketicket_award
 * 
 * @author lzy
 * @date 2019-03-01
 */
public class ShaketicketAward extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private String id;
	/** 是否卡券0 是1 否 */
	private String isCard;
	/** 奖品名称 */
	private String awardsName;
	/** 发奖公司 */
	private String owner;
	/** 卡券id */
	private String cardId;
	/** 奖品图片 */
	private String img;
	/** 单位 */
	private String unit;
	/** 公众号原始ID */
	private String jwid;
	/** 奖品描述 */
	private String awardsDescribe;
	/** 创建人 */
	private String createBy;
	
	
	/**
	 *数量
	 */
	private Integer amount;
	/**
	 *概率
	 */
	private Double probability;
	
	
	

	
	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Double getProbability() {
		return probability;
	}

	public void setProbability(Double probability) {
		this.probability = probability;
	}

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setIsCard(String isCard) 
	{
		this.isCard = isCard;
	}

	public String getIsCard() 
	{
		return isCard;
	}
	public void setAwardsName(String awardsName) 
	{
		this.awardsName = awardsName;
	}

	public String getAwardsName() 
	{
		return awardsName;
	}
	public void setOwner(String owner) 
	{
		this.owner = owner;
	}

	public String getOwner() 
	{
		return owner;
	}
	public void setCardId(String cardId) 
	{
		this.cardId = cardId;
	}

	public String getCardId() 
	{
		return cardId;
	}
	public void setImg(String img) 
	{
		this.img = img;
	}

	public String getImg() 
	{
		return img;
	}
	public void setUnit(String unit) 
	{
		this.unit = unit;
	}

	public String getUnit() 
	{
		return unit;
	}
	public void setJwid(String jwid) 
	{
		this.jwid = jwid;
	}

	public String getJwid() 
	{
		return jwid;
	}
	public void setAwardsDescribe(String awardsDescribe) 
	{
		this.awardsDescribe = awardsDescribe;
	}

	public String getAwardsDescribe() 
	{
		return awardsDescribe;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("isCard", getIsCard())
            .append("awardsName", getAwardsName())
            .append("owner", getOwner())
            .append("cardId", getCardId())
            .append("img", getImg())
            .append("unit", getUnit())
            .append("jwid", getJwid())
            .append("awardsDescribe", getAwardsDescribe())
            .append("createBy", getCreateBy())
            .toString();
    }
}
